function p=signalcdf(x,mu,sigma)

p=mu*normcdf(x,1,sigma)+(1-mu)*normcdf(x,0,sigma);

